package io.renren.modules.psnetpoint.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.psnetpoint.dao.PsNetPointDao;
import io.renren.modules.psnetpoint.entity.PsNetPointEntity;
import io.renren.modules.psnetpoint.service.PsNetPointService;



@Service("psNetPointService")
public class PsNetPointServiceImpl implements PsNetPointService {
	@Autowired
	private PsNetPointDao psNetPointDao;
	
	@Override
	public PsNetPointEntity queryObject(Long id){
		return psNetPointDao.queryObject(id);
	}
	
	@Override
	public List<PsNetPointEntity> queryList(Map<String, Object> map){
		return psNetPointDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return psNetPointDao.queryTotal(map);
	}
	
	@Override
	public void save(PsNetPointEntity psNetPoint){
		psNetPointDao.save(psNetPoint);
	}
	
	@Override
	public void update(PsNetPointEntity psNetPoint){
		psNetPointDao.update(psNetPoint);
	}
	
	@Override
	public void delete(Long id){
		psNetPointDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		psNetPointDao.deleteBatch(ids);
	}
	
}
